//
//  UserInfo.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/8/10.
//  Copyright © 2016年 wl. All rights reserved.
//

import Foundation
import SwiftyJSON

class loginInfo: NewsModelInitProtocol{
    
    var msg: String
    var type: String
    var complete: Bool
    
    required init(json: JSON) {
        
       msg = json["msg"].stringValue
       type = json["type"].stringValue
       complete = json["complete"].boolValue
    }
}
class regiestInfo: NewsModelInitProtocol{
    
    var msg: String
    var type: String
    var id: String
    var unitname: String
    var integral: Int
    required init(json: JSON) {
        msg = json["msg"].stringValue
        type = json["type"].stringValue
        id = json["id"].stringValue
        unitname = json["unitname"].stringValue
        integral = json["integral"].intValue
        
    }
}
